package com.pointmi.model;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Email;

public class ShoppingCustomerModel {
	@NotNull(message="Please provide email")
	@Email(message="Email is not in the correct format")
	private String email;

	@NotNull(message="Please provide password")
	private String password;
	
	@NotNull(message="Please re-enter password")
	private String cpassword;
	
	public String getemail()
	{
		return email;
	}
	
	public void setemail(String email)
	{
		this.email = email;
	}
	
	public String getpassword()
	{
		return password;
	}
	
	public void setpassword(String password)
	{
		this.password = password;
	}
	
	public String getcpassword()
	{
		return cpassword;
	}
	
	public void setcpassword(String cpassword)
	{
		this.cpassword = cpassword;
	}
}
